package com.cjlgb.design.oauth.channel;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.messaging.SubscribableChannel;

/**
 * @author WFT
 * @date 2019/8/29
 * description: oauth2 账户,输入管道
 */
public interface AccountInputChannel {

    String INPUT = "oauth_account_topic_input";

    /**
     * 订阅通道
     * @return org.springframework.messaging.SubscribableChannel
     */
    @Input(value = INPUT)
    SubscribableChannel input();

}
